<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta content="webkit" name="renderer">
<title>主页</title>
<!-- 访问地址http://static.cross.com:9999/static/domJsonp/noNeedLogin.html-->
</head>
<body>
	<div id="testId"></div>
</body>
<script src="../jquery-1.11.1.js"></script>
<script type="text/javascript">
	var cross = {};
	cross.static_ = function() {
		var _this = {
			jsDom : function() {
				var url = "http://www.cross.com:8888/user/mockLoginJsonp.action?callback=cross.static_.jsonpcallback";
				var script = document.createElement('script');
				script.setAttribute('src', url);
				document.body.appendChild(script);
			},
			jsonpcallback : function(data) {
				$('#testId').text(data);
			}
		};
		return _this;
	}();

	$(function() {
		cross.static_.jsDom();
	});
</script>
</html>


